{% extends "recommendation/shared.html" %}

{% block title %}
Choose friends
{% endblock %}

{% block content %}
<h2>Choose your friends and get recommendations:</h2>
	<div class="paragraph">
		<form id="friends" action="recommend/" method="post">
			{% if friends %}
			<h2>Which friends would you like to watch a movie with?</h2>
			{% endif %}
			{% csrf_token %}
			{% for f in friends %}
				<input type="checkbox" name="friendList"  value="{{ f }}" id="{{ f }}" />
				{{ f }}
				<br />
			{% endfor %}
			<br />
			{% if groups %}
			<h2>
				Which groups would you like to watch a movie with?
			</h2>
			{% endif %}
			{% for g in groups %}
				<input type="checkbox" name="groupList"  value="{{ g }}" id="{{ g }}" />
				{{ g }}
				<br />
			{% endfor %}
			<br />
			<br />
			<h3>Additional options:</h3>
			<h4><input type="checkbox" name="recommendSeen" id="recommendSeen" /> Recommend also from movies we've seen</h4>
			<div class="helpSheet">
				Check this option if you want us include movies you've already watched in the recommendations
			</div>
			<h4><input type="checkbox" name="limitWorld" id="limitWorld" /> Choose a set of movies for recommendations</h4>
			<div class="helpSheet">
				Check this option if you want to limit the recommendations to a specific set of movies
			</div>
			<br />
			<input type="image" src ="{{ STATIC_URL }}images/buttons/find.png" value="Find recommendations" alt="Find recommendations" />
		</form>
	</div>
{% endblock %}
